import UIKit

//
@available(iOS 2.0, *)
extension QKC where AA :UISwitch {
    @available(iOS 5.0, *)
    open func onTintColor_qk_s(_ onTintColor:  UIColor?) -> QKC<AA,YY,ZZ, UIColor?>{
		return link(next: onTintColor).then_QK { $0.value.onTintColor = onTintColor }
	}
    @available(iOS 5.0, *)
    open func onTintColor_qk_g() -> QKC<AA,YY,ZZ, UIColor?>{
		 self +^ self.value.onTintColor
	}

    @available(iOS 6.0, *)
    open func thumbTintColor_qk_s(_ thumbTintColor:  UIColor?) -> QKC<AA,YY,ZZ, UIColor?>{
		return link(next: thumbTintColor).then_QK { $0.value.thumbTintColor = thumbTintColor }
	}
    @available(iOS 6.0, *)
    open func thumbTintColor_qk_g() -> QKC<AA,YY,ZZ, UIColor?>{
		 self +^ self.value.thumbTintColor
	}

    @available(iOS 6.0, *)
    open func onImage_qk_s(_ onImage:  UIImage?) -> QKC<AA,YY,ZZ, UIImage?>{
		return link(next: onImage).then_QK { $0.value.onImage = onImage }
	}
    @available(iOS 6.0, *)
    open func onImage_qk_g() -> QKC<AA,YY,ZZ, UIImage?>{
		 self +^ self.value.onImage
	}

    @available(iOS 6.0, *)
    open func offImage_qk_s(_ offImage:  UIImage?) -> QKC<AA,YY,ZZ, UIImage?>{
		return link(next: offImage).then_QK { $0.value.offImage = offImage }
	}
    @available(iOS 6.0, *)
    open func offImage_qk_g() -> QKC<AA,YY,ZZ, UIImage?>{
		 self +^ self.value.offImage
	}

    open func isOn_qk_s(_ isOn:  Bool) -> QKC<AA,YY,ZZ, Bool>{
		return link(next: isOn).then_QK { $0.value.isOn = isOn }
	}
    open func isOn_qk_g() -> QKC<AA,YY,ZZ, Bool>{
		 self +^ self.value.isOn
	}

		// does not send action
    open func setOn_qk_f(_ on: Bool, animated: Bool) -> QKC<AA,YY,ZZ, Bool>{
		 self +^ self.value.setOn(on, animated:animated) +^ on
	}

}

